import {http} from '@/utils/http'

// 添加专家分类
export function addExpertCategory(data: any) {
    return http.post<any>('/admin/expertCategory/addExpertCategory', data)
}

// 修改专家分类
export function updateExpertCategory(data: any) {
    return http.post<any>('/admin/expertCategory/updateExpertCategory', data)
}

// 删除专家分类
export function deleteExpertCategory(id: string) {
    return http.post<any>('/admin/expertCategory/deleteExpertCategory/' + id)
}

// 获取专家分类详情
export function getExpertCategory(id: any) {
    return http.post<any>('/admin/expertCategory/getExpertCategory/' + id)
}

// 获取专家分类分页列表
export function getExpertCategoryPage(data: any) {
    return http.post<any>('/admin/expertCategory/getExpertCategoryPage', data)
}

// 获取专家分类列表
export function getExpertCategoryList(data: any) {
    return http.post<any>('/admin/expertCategory/getExpertCategoryList', data)
}



















